---
layout: archives
title: Archives
description: All posts organized by category
permalink: archives.html
---
{% for category in site.categories %}

  {% unless forloop.first %}<hr/>{% endunless %}

  {% assign title = category.first %}
  {% assign posts = category.last %}

  <h2 id="{{ title | capitalize | replace:' ','-' }}" class="category-title">{{ title | capitalize }}</h2>

  {% for post in posts %}
    <div class="media">
      <div class="media-body">
        <h4 class="media-heading"><a href="{{ post.url }}">{{ post.title }}</a></h4>
        {% if post.description %}<p>{{ post.description }}</p>{% endif %}
      </div>
    </div>
  {% endfor %}

{% endfor %}
